﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Save.aspx.cs" Inherits="Three_Managerment_Problem_PY_Save" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="/style/css/style1.css" rel="stylesheet" type="text/css" />
    <script>

        function yanz() {
            var name = document.getElementById("name").value;
            if (name=="") {
                alert("姓名不能为空");
                return false;
            }

           

            var str1 = document.getElementById("num").value;
            if (str1 == "") {
                alert("工号不能为空");
                return false;
            }
            var titles = document.getElementById("title").value;
            if (titles == "") {
                alert("标题不能为空");
                return false;
            }

            var con = document.getElementById("con").value;
            if (con == "") {
                alert("内容不能为空");
                return false;
            }
            var str = document.getElementById("tel").value;

            if (str == "") {
                alert("手机号不能为空");
                return false;
            }
        }
    </script>
</head>
<body>

    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="place">
            <span>位置：</span>
            <ul class="placeul">
                <li><a href="#">首页</a></li>
                <li><a href="#">事件录入</a></li>
            </ul>
        </div>

        <div class="formbody">

            <div class="formtitle"><span>基本信息</span></div>
            <div class="bottab2">
                <div class="bottab2_l">
                    <p>事件编号：</p>
                    <input name="" readonly="true" id="biaohao" runat="server" type="text" />

                    <span>*</span>
                </div>
                <div class="bottab2_r">
                        <p>信件来源：</p>
                        <asp:DropDownList ID="drot" class="dfinput" runat="server"></asp:DropDownList>
                        <span>*</span>
           
                </div>
            </div>
            <div class="bottab2">
                <div class="bottab2_l">
                    <p>诉求人姓名：</p>
                    <input name="" id="name" runat="server" type="text" />
                    <span>*</span>
                </div>
                <div class="bottab2_r">
                    <p>联系电话：</p>
                    <input name="" id="tel" runat="server" type="text" />
                    <span>*</span>
                </div>
            </div>
            <div class="bottab2">
                <div class="bottab2_l">
                    <p>诉求大类：</p>
                    <asp:DropDownList name="" ID="feilei" class="dfinput" runat="server" AutoPostBack="true" OnSelectedIndexChanged="feilei_SelectedIndexChanged"></asp:DropDownList>
                    <span>*</span>
                </div>
                <div class="bottab2_r">
                    <p>诉求小类：</p>
                    <asp:DropDownList name="" ID="xiaolei" class="dfinput" runat="server"></asp:DropDownList>
                    <span>*</span>
                </div>
            </div>
            <div class="bottab2">
                <div class="bottab2_l">
                    <p>归属：</p>
                    <asp:DropDownList name="" ID="guishu" class="dfinput" runat="server"></asp:DropDownList>
                    <span>*</span>
                </div>
                <div class="bottab2_r">
                    <p>工号：</p>
                    <input name="" id="num" runat="server" type="number" class="dfinput" value="0" />
                    <span>*</span>
                </div>
            </div>
            <div class="bottab1">
                <p>电子信箱：</p>
                <input name="" id="email" runat="server" type="email" />
            </div>
            <div class="bottab1">
                <p>诉求主题：</p>
                <input name="" id="title" runat="server" type="text" />
                <span>*</span>
            </div>
            <div class="bottab1" style="height: 210px;">
                <p>主要内容：</p>
                <!--<input type="text" value="123456789" /> -->
                <!--  <span>（说明：请限制在2000字以内，最好写明问题归属的区县或机关单位。）</span>-->
                <textarea name="" id="con" runat="server" style="resize: none" class="textinput"></textarea>
            </div>
            <div class="bottab2">



                <div class="bottab2_l">
                    <p style="width: 40%">是否公开事件：</p>
                    <!--<input type="text" value="" /> -->
                    <cite class="check">
                        <asp:RadioButton ID="rad" runat="server" Checked="true" GroupName="n1" />
                        <span>否</span>
                        <asp:RadioButton ID="rad2" runat="server" GroupName="n1" />
                        <span>是</span>

                    </cite>

                </div>

            </div>
            <div class="bottab2">


                <div class="bottab2_l">
                    <p style="width: 40%">是否为重要事件：</p>
                    <!--<input type="text" value="" /> -->
                    <cite class="check">
                        <asp:RadioButton ID="rad3" runat="server" Checked="true" GroupName="n2" />
                        <span>否</span>
                        <asp:RadioButton ID="rad4" runat="server" GroupName="n2" />
                        <span>是</span>

                    </cite>

                </div>

            </div>
            <div class="bottab2">

                <div class="bottab2_l">
                    <p style="width: 40%">是否为紧急事件：</p>
                    <!--<input type="text" value="" /> -->
                    <cite class="check">
                        <asp:RadioButton ID="rad5" runat="server" Checked="true" GroupName="n3" />
                        <span>否</span>
                        <asp:RadioButton ID="rad6" runat="server" GroupName="n3" />
                        <span>是</span>

                    </cite>

                </div>
            </div>
            <div class="bottab2">


                <div class="bottab2_l">
                    <p style="width: 40%">是否为重复事件：</p>
                    <!--<input type="text" value="" /> -->
                    <cite class="check">
                        <asp:RadioButton ID="rad7" runat="server" Checked="true" GroupName="n4" />
                        <span>否</span>
                        <asp:RadioButton ID="rad8" runat="server" GroupName="n4" />
                        <span>是</span>

                    </cite>

                </div>
            </div>
            <asp:Button runat="server" OnClientClick="return yanz()"   name="" type="button" class="bunt_2" Style="margin-right: 20px" OnClick="Unnamed_Click" Text="提交" /><label>&nbsp;</label><input name="" type="reset" class="bunt_2" value="重置" />

        </div>


    </form>


</body>
</html>
